<?php
class Option extends CI_Controller 
{
    function __construct()
	{
		parent::__construct();	
		$this->lang->load('admin');
	}
	
	function index()
	{

	    $params = array(
	    	'sitename'=>array(
                'lang'=>lang('sitename'),
                'type'=>'text',
                'validation'=>'trim|required',
            )
	    );
	    $this->load->library('option'); 
	    $this->option->editOptions($params);
	}
}